package com.fdb.basic.framework.core.constant;

/**
 * ESB公共常量
 * @author chenqiming
 */
public class ESBConstant {
    /**ESB通用成功响应码*/
    public final static String SUCCESS = "000000";
    /**ESB通用成功响应码，6个0*/
    public final static String SUCCESS_000000 = "000000";
    /**ESB通用成功响应码，5个0*/
    public final static String SUCCESS_00000 = "00000";
    /**ESB通用失败响应码*/
    public final static String FAILURE = "999999";
    
    /**系统编号:消费贷*/
    public final static String SYSTEM_ID_PICCS = "408025";
    /**系统编号:核心*/
    public final static String SYSTEM_ID_BANCS = "408001";
    /**系统编号:省信贷*/
    public final static String SYSTEM_ID_CMIS = "408003";
    /**系统编号:核心卡*/
    public final static String SYSTEM_ID_BANRD = "408011";
    /**系统编号:呼叫中心*/
    public final static String SYSTEM_ID_TEL = "101009";
    /**系统编号:信息银行*/
    public final static String SYSTEM_ID_SMSB = "101007";
    /**系统编号:短信平台*/
    public final static String SYSTEM_ID_MSP= "60120003";
    /**系统编号:大前置系统*/
    public final static String SYSTEM_ID_GAPS= "50120002";
	/**系统编码:传统核心*/
	public final static String SYSTEM_ID_TRANTIONAL_CORE = "50130005";
    public final static String SYSTEM_ID_CBS_50130001= "50130001";

	/**系统编码:大前置系统*/
	public final static String SYSTEM_ID_FRONT_SYSTEM = "50120002";

    /**场景:01*/
    public final static String SCENE_NO_01 = "01";
    /**场景:02*/
    public final static String SCENE_NO_02 = "02";
    /**场景:03*/
    public final static String SCENE_NO_03 = "03";
    /**场景:04*/
    public final static String SCENE_NO_04 = "04";
    /**场景:05*/
    public final static String SCENE_NO_05 = "05";
    /**场景:06*/
    public final static String SCENE_NO_06 = "06";
    /**场景:17*/
    public final static String SCENE_NO_17 = "17";
	/**场景:60*/
	public final static String SCENE_NO_60 = "60";
    
    public final static String SCENE_NO_07 = "07";

	public final static String SCENE_NO_08 = "08";

	public static final String SCENE_NO_15 = "15";

	public static final String SCENE_NO_18 = "18";

	public static final String SCENE_NO_13 = "13";

	public static final String SCENE_NO_14 = "14";

	public final static String SCENE_NO_11 = "11";

    public final static String SCENE_NO_12 = "12";

	/** 场景: S0009:授信申请获取征信授权文件路径 */
    public final static String SCENE_NO_S0009 = "S0009";
	/** 场景: S0001：获取场景贷申请短信验证码（征信授权书CA挑战码） */
    public final static String SCENE_NO_S0001 = "S0001";
    /** 场景: S0002：获取秒贷申请短信验证码（征信授权书CA挑战码） */
	public final static String SCENE_NO_S0002 = "S0002";
	/** 场景: S0007：获取场景贷激活短信验证码（电子合同CA挑战码） */
	public final static String SCENE_NO_S0007 = "S0007";
	/** 场景: S0008：获取秒贷激活短信验证码（电子合同CA挑战码） */
	public final static String SCENE_NO_S0008 = "S0008";

	/** 场景: S0010：提额申请提交（无需短信验证码CA签名） */
	public final static String SCENE_NO_S0010 = "S0010";
	/** 场景: S0011：提额申请提交（需短信验证码CA签名） */
	public final static String SCENE_NO_S0011 = "S0011";
	/** 场景: S0012：额度首次激活 */
	public final static String SCENE_NO_S0012 = "S0012";
	/** 场景: S0013：提额申请额度激活 */
	public final static String SCENE_NO_S0013 = "S0013";
    
    /**手机银行*/
    /**预授信客户白名单查询交易码:40013000004*/
    public final static String TRADE_CODE_40013000004 = "40013000004";
    /**产品信息查询交易码:30023000005*/
	public final static String TRADE_CODE_30023000005 = "30023000005";
	 /**额度激活验证码获取交易码:10012000002*/
	public final static String TRADE_CODE_10012000002 = "10012000002";
	 /**产品审批状态查询交易码:30023000006*/
	public final static String TRADE_CODE_30023000006 = "30023000006";
	 /**合同号查询、合同模版下载、合同综合信息查询交易码:30023000007*/
	public final static String TRADE_CODE_30023000007 = "30023000007";
	 /**可激活额度激活、营销额度申请，提额申请、消费贷提额前交易码:30022000005*/
	public final static String TRADE_CODE_30022000005 = "30022000005";
	 /**用款申请交易码:30022000010*/
	public final static String TRADE_CODE_30022000010 = "30022000010";
	 /**贷用款申请资料上传交易码:30024000001*/
	public final static String TRADE_CODE_30024000001 = "30024000001";
	
	
	
	/**呼叫中心*/
	 /**接收外呼任务结果、请求消费贷外呼任务交易交易码:60012000006*/
	public final static String TRADE_CODE_60012000006 = "60012000006";
	
	/**省信贷*/
	 /**客户信息查询交易码:20012000001*/
	public final static String TRADE_CODE_20012000001 = "20012000001";
	 /**对私客户信息查询交易码:30022000009*/
	public final static String TRADE_CODE_30022000009 = "30022000009";
	/**获取MQ消息 交易码：30023000004*/
	public final static String TRADE_CODE_30023000004 = "30023000004";
	
	/** 互联网开放平台 */
	/** 实时税局信息查询交易码   50130003 */
	public final static String TRADE_CODE_50130003 = "50130003";
	
	/**CA电子签章*/
	/**普通签章交易码:60014000001*/
	public final static String TRADE_CODE_60014000001 = "60014000001";
	/**接请求挑战码、挑战码签名交易码:60014000002*/
	public final static String TRADE_CODE_60014000002 = "60014000002";
	
	/**CFCA服务*/
	/**个人开户*/
	public final static String TRADE_CODE_20120001 = "20120001";
	/**合同签署*/
	public final static String TRADE_CODE_ = "";
	
	/**核心*/
	 /**按客户号或证件查询客户基本信息交易码:20013000001*/
	public final static String TRADE_CODE_20013000001 = "20013000001";
	 /**贷款账户开户交易码:30022000007*/
	public final static String TRADE_CODE_30022000007 = "30022000007";
	 /**贷款零余额结清、贷款还款结清交易码:30021000002*/
	public final static String TRADE_CODE_30021000002 = "30021000002";
	 /**贷款放款交易码:30021000001*/
	public final static String TRADE_CODE_30021000001 = "30021000001";
	/**贷款账户查询交易码:30023000002*/
	public final static String TRADE_CODE_30023000002 = "30023000002";
	
	/**信息银行*/
	 /**实时短信发送交易码:10012000001*/
	public final static String TRADE_CODE_10012000001 = "10012000001";
	
	/**征信平台*/
	 /**单笔个人征信查询交易交易码:99IRB0000002*/
	public final static String TRADE_CODE_99IRB0000002 = "99IRB0000002";
	/*客户附加信息查询*/
	public final static String TRADE_CODE_20013000002 = "20013000002";
	
	/** 互联网金融平台*/
	/** 30210002  贷款还款*/
	public static final String TRADE_CODE_30210002 = "30210002";
	/** 30230007 贷款结果信息查询*/
	public static final String TRADE_CODE_30230007 = "30230007";
	/** 30230003 贷款基本信息*/
	public final static String TRADE_CODE_30230003="30230003";

	public final static String TRADE_CODE_30210001="30210001";
	/** 30230002 贷款还款查询*/
	public static final String TRADE_CODE_30230002= "30230002";
	/** 30230010 客户信息查询*/
	public static final String TRADE_CODE_30230010= "30230010";

	/** 30230010 客户借据明细查询*/
	public static final String TRADE_CODE_30230006= "30230006";
	/** 个贷*/
	/** 贷款规则信息查询*/
	public static final String TRADE_CODE_30230008 = "30230008";



	/** 互联网开放平台 */
	/** 服务名称     贷款调额结果通知 */
	public static final String TRADE_NO_30220011 = "30220011";
	public static final String TRADE_NO_30220006 = "30220006";
	public static final String TRADE_NO_20120002 = "20120002";

	public final static String xngy = "8120075";
	public final static String jgdm = "00101";
	/** 风控审评平台*/
	public static final String TRADE_NO_30220001 = "30220001";
    public static final String TRADE_NO_30130001 = "30130001";
    public static final String TRADE_CODE_30220017 = "30220017";
    public static final String TRADE_CODE_30220006 = "30220006";
    public static final String TRADE_CODE_30220010 = "30220010";
	public static final String TRADE_CODE_30220001 = "30220001";
    public static final String TRADE_CODE_20130001 = "20130001";



	/**
	 * 基础功能
	 * */
	/** */
	public static final String TRADE_NO_40130012 = "40130012";
	public static final String TRADE_NO_30210004 = "30210004";
	public static final String TRADE_NO_30220018 = "30220018";
	public static final String TRADE_NO_30230012 = "30230012";

	/** 场景号“07*/
	public static final String SECNE_NO_01 = "01";
	public static final String SECNE_NO_02 = "02";
	public static final String SECNE_NO_07 = "07";
	public static final String SECNE_NO_08 = "08";

	/**
     * 报文头相关信息
     * @author lyp
     */
    public interface soaHeaderInfo{
    	public final String svcVer = "V001";//服务版本号
    	public final String cnsmrId = "408025";//服务请求系统编号
    	public interface txnMd{ //交易模式
    		public final String online = "ONLINE"; //联机处理（默认）
    		public final String async = "ASYNC"; //异步处理 
    		public final String undir = "UNIDIR"; //单向处理
    	}
    	public final String usrLng = "zh-CN"; //用户语言
    	
    	public interface txnSt{//系统处理结果 取值范围：S－系统级通讯成功 F－系统级通讯失败
    		public final String success = "S"; 
    		public final String faild = "F"; 
    	}
    	public final String mzjymgz = "000"; //默认交易码规则
    	public final String sxdjymgz = "124"; //省信贷交易码规则
    }
    /**
     * esb接口类型
     * @author lyp
     */
    public interface esbType{
    	public final String send = "1"; //主动接口
    	public final String rev = "0"; //被动接口
    }
}
